Return a string consisting of multiple copies of the specified string. |
|
Syntax |
s$ = REPEAT$(count&, string_expr) |
Remarks |
The REPEAT$ function has the following parts: |
Is an integral expression, constant or variable, specifying the number of copies of string_expr to be included in the result. REPEAT$ is very similar to STRING$ (which makes multiple copies of a single character). |
|
string_expr |
The string to be duplicated. |
See also |
|
Example |
x$ = REPEAT$(5, "<*> ") |
Result |
<*> <*> <*> <*> <*> |